Giraffe integration for haplotype sampling #4053
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changelog Entry
To be copied to the draft changelog by merger:
vg giraffe
command line help; full list of options is still available with-h
.Description
vg giraffe
runs haplotype sampling with the default options and--include-reference
if it is given a GBZ graph, the corresponding haplotype information (with--haplotype-name
) and kmer counts for the reads (with--kff-name
). Names for the sample-specific graph/index files are based on the name of the input graph and basename of the KFF file. This can be overridden with options--index-basename
and-N
/--sample
.There is also a better kmer coverage estimation heuristic. If the most common kmer count above 1 is below median, the secondary peak close to 2x that will be used as the estimate.
I also changed the
vg giraffe
command line help to show only the most important options by default. The full help with all options is still available with-h
.